import { BasicPageParams, BasicFetchResult } from '/@/api/model/baseModel';

// 请求参数
export type GoodsParams = {
  goodsName?: string;
  goodsType?: string;
  tags?: string;
};

// 分页参数
export type GoodsPageParams = BasicPageParams & GoodsParams;

// 列表数据接口
export interface GoodsListItem {
  id: string;
  goodsName: string;
  goodsType: string;
  price: String;
  tags: string;
  createTime: string;
  remark: string;
}

// 分页结果模型
export type GoodsPageListGetResultModel = BasicFetchResult<GoodsListItem>;

// 普通模型
export type GoodsListGetResultModel = GoodsListItem[];
